package FengZhuang;

public class Static_demo02 {
    public static void main(String[] args) {

//        通过static来跨文件跨类调用

//        调用PI
        double r=2;
        double c= Static_demo01.PI * r * r;
        System.out.println(c);

//        调用无参构造
        Static_demo01.ideal();

//        调用有参构造
        int a=1;
        int b=2;
        System.out.println(Static_demo01.Max_min(a,b));
    }
}
